package com.caht.servier.Impl;

import com.caht.entity.Topic;
import com.caht.mapper.TopicMapper;
import com.caht.servier.TopicServier;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TopicServierImpl implements TopicServier {

    @Autowired
    private TopicMapper topicMapper;

    public List<Topic> GetTopicAll(){
       return topicMapper.GetTopicAll();
    }
}
